package com.bookmanager.www.entity;

import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: 风离
 * @Date: 2021/11/19/23:27
 * @Description: 菜单表
 */

@Data

public class FlMenu {

    private Integer menuId;

    private Integer fatherId;

    private Integer requireRoleId;

    private String authName;

    private String routerPath;

    private String logo;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private List<FlMenu> children;

    @Override
    public String toString() {
        return "FlMenu{" +
                "menuId=" + menuId +
                ", fatherId=" + fatherId +
                ", requireRoleId=" + requireRoleId +
                ", authName='" + authName + '\'' +
                ", routerPath='" + routerPath + '\'' +
                ", logo='" + logo + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", children=" + children +
                '}';
    }
}
